package com.aplink.generic.pojo.controlspec.actionbar;

import java.io.Serializable;
import java.util.ArrayList;

public class SearchViewSpec implements Serializable {
	private static final long serialVersionUID = -6059830726274932107L;
	private String mIcon;
	private String mID;
	private final ArrayList<String> mSearchFileds;
	private String mTitle;

	public SearchViewSpec() {
		this.mSearchFileds = new ArrayList<String>();
	}

	public void addSearchField(final String field) {
		this.mSearchFileds.add(field);
	}

	public String getIcon() {
		return this.mIcon;
	}

	public String getID() {
		return this.mID;
	}

	public final ArrayList<String> getSearchFileds() {
		return mSearchFileds;
	}

	public String getTitle() {
		return this.mTitle;
	}

	public void setIcon(final String icon) {
		this.mIcon = icon;
	}

	public void setID(final String iD) {
		this.mID = iD;
	}

	public void setTitle(final String title) {
		this.mTitle = title;
	}

}
